<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .d1{
            width: 300px;
            height: 200px;
            border: 1px solid red;

            /* 
                过渡效果
            */
            transition-property: width;
            transition-duration: 3s;
            transition-timing-function: ease-in-out;
            transition-delay: 0s;

        }
        .d1:hover{
            width: 600px;
        }


        img{
            width: 200px;
            height: 200px;
            margin: 50px;

            transition: all 2s linear;
        }
        img:hover{
            /* transform: rotate(2000deg); */
            width: 400px;
            height: 400px;
        }
    </style>
</head>
<body>
    <div class="d1"></div>

    <img src="../day02/images/shuai.jpg" alt="">
</body>
</html>